<%-- 
    Document   : user_pestanas
    Created on : 10-27-2010, 07:36:01 PM
    Author     : Dada
--%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<HTML>
<HEAD>
<TITLE>Reportes</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script type="text/javascript">
        function  clickLlamadas(){
            var hiddenAction=document.getElementById("action");
            hiddenAction.value="registrollamadas";
        }

        function  clickCampanas(){
            var hiddenAction=document.getElementById("action");
            hiddenAction.value="estadocampanas";
        }
    </script>
<SCRIPT LANGUAGE="JavaScript">
<!--

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		butt_01_over = newImage("images/butt_01-over.jpg");
		butt_02_over = newImage("images/butt_02-over.jpg");
		butt_03_over = newImage("images/butt_03-over.jpg");
		butt_04_over = newImage("images/butt_04-over.jpg");
		butt_05_over = newImage("images/butt_05-over.jpg");
		butt_06_over = newImage("images/butt_06-over.jpg");
		preloadFlag = true;
	}
}

// -->
</SCRIPT>
<link href="general.css" rel="stylesheet" type="text/css">
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY BGCOLOR=#133F54 ONLOAD="preloadImages();" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center">
  <TABLE WIDTH=774 BORDER=1 CELLPADDING=0 CELLSPACING=0>
    <TR>
      <TD width="178" height="218" align="center" valign="middle" class="logo"><p><strong>Chasqui-soft</strong></p>
      <p><img src="images/defaultlogo.gif" width="48" height="48" alt="logo"></p></TD>
      <TD width="590" align="left" valign="top"><img src="images/callcenter_banner.jpg" width="1009" height="216" alt="banner"></TD>
    </TR>
    <TR>
      <TD height="152"><img src="images/info_area.jpg" alt="back" width=178 height=270></TD>
      <TD rowspan="3" align="center" valign="top"><table width="500" height="516" border="0" cellspacing="0">
        <tr>
              <td><p class="ruta">>Administración>Usuario>Reportes</p></td>
              <tr>
          <td width="583" height="516" align="center" valign="top" scope="col"><p>&nbsp;</p>
            <p class="texos_pequenos">User: ${requestScope.usuario}</p>
            <p class="Titlulos_General">Reportes</p>
            <p class="Titlulos_General"><img src="images/t_19.jpg" width="500" height="2" alt="serparador"></p>
            <table width="968" height="215" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td colspan="3"><div align="center">
                                <h2>&nbsp;</h2>
                            </div></td>
                    </tr>
                    <form method="post" action="CampanaServlet">
                        <input type="hidden" name="action" id="action" value="">
                        <tr>
                            <td height="43" colspan="3">&nbsp;</td>
                        </tr>
                        <tr>
                          <td width="285" height="40">&nbsp;</td>
                            <td width="206" class="texto">Seleccione Campa&ntilde;a:</td>
                            <td width="473"><label>
                                    <select name="listacampana" id="listacampana">

                                        <c:forEach var="campanas" items="${requestScope.campanas}">
                                            <option value ="${campanas.idCampana}">${campanas.nombre}</option>
                                        </c:forEach>
                                    </select>
                          </label></td>
                        </tr>


                        <tr>
                          <td height="33" colspan="3">&nbsp;</td>
                        </tr>
                        <tr>
                            <td height="24" colspan="3" align="center" valign="middle"><span class="Titlulos_General"><img src="images/t_19.jpg" width="500" height="2" alt="serparador"></span></td>
                        </tr>
                        <tr>
                          <td height="25" colspan="3">&nbsp;</td>
                        </tr>
                        <tr>
                          <td height="24">&nbsp;</td>
                          <td class="texto">Revisar Estado de:</td>
                          <td><input type="submit" onClick="clickCampanas();return true;" name="estadocampanas" id="estadocampanas" value="   Campa&ntilde;a   "></td>
                          <td width="4" rowspan="3">&nbsp;</td>
                        </tr>
                        <tr>
                            <td height="24">&nbsp;</td>
                            <td>&nbsp;</td>
                            <td><input type="submit" onClick="clickLlamadas();return true;" name="estadollamadas" id="estadollamadas" value="    Llamada    "></td>
                        </tr>

                    </form>
                </table>

            </td>
        </tr>
      </table></TD>
    </TR>
    <TR>
      <TD height="208" valign="top"><ul id="MenuBar1" class="MenuBarVertical">
        <li><a href="index2.jsp">Home</a>          </li>
        <li><a href="clientes2.jsp">Clientes</a></li>
        <li><a href="usuario2.jsp" class="MenuBarItemSubmenu">Administraci&oacute;n</a>
          <ul>
            <li><a href="AbonadoServlet">Abonados</a></li>
            <li><a href="CampanaServlet">Campa&ntilde;as</a></li>
            <li><a href="modificar_usuario.jsp">Empleados</a></li>
            <li><a href="ReportesServlet?action=listreportes">Reportes</a></li>
           	<li><a href="CampanaServlet?action=volverusuario">Cerrar Sesi&oacute;n</a></li>
          </ul>
        </li>
        <li><a href="noticias2.jsp">Noticias</a></li>
        <li><a href="soporte2.jsp">Soporte</a></li>
        <li><a href="contactanos2.jsp">Cont&aacute;ctanos</a></li>
      </ul></TD>
    </TR>
    <TR>
      <TD height="169" valign="top"><img src="images/info_area.jpg" alt="back" width=178 height=270></TD>
    </TR>
  </TABLE>
</div>
<!--Jansondesigns.com offers an impressive collection of professionally made web templates, banner templates,
flash designs, free templates and free web graphics. We have templates that suit any personal or professional web site needs!! -->
<script type="text/javascript">
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
</script>
</BODY>
</HTML>